#ifndef _FIG_FUNCTIONS_H_
#define _FIG_FUNCTIONS_H_

#include "math/vec2.h"

namespace ui
{
	class UISprite;
};

class FigFunctions
{
public:
	
    FigFunctions(){};

	static math::Vec2		RotateAroundPos(const math::Vec2& Center, 
										const math::Vec2& PosToRotate,
										float Rotation,
										bool WtoH  = false
										);

	static void				ToDegree(	float& Degree,
										float TargetDegree, 
										float Speed);

	static bool				HitTest(	ui::UISprite* pSprite, 
										const math::Vec2& Point , 
										const math::Vec2& SpritePos);


		

protected:

};

#endif